package com.rideplans.client;

import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.Button;

public class Registration extends DialogBox {
	
	public Button btnRegister;
	
	public Registration() {
		setHTML("Registration");
		
		AbsolutePanel absolutePanel = new AbsolutePanel();
		setWidget(absolutePanel);
		absolutePanel.setSize("380px", "269px");
		
		TextBox txtbxFirst = new TextBox();
		absolutePanel.add(txtbxFirst, 10, 45);
		txtbxFirst.setSize("348px", "16px");
		
		TextBox textBox = new TextBox();
		absolutePanel.add(textBox, 10, 97);
		textBox.setSize("348px", "16px");
		
		Label lblFirstName = new Label("First Name");
		absolutePanel.add(lblFirstName, 10, 23);
		
		Label lblLastName = new Label("Last Name");
		absolutePanel.add(lblLastName, 10, 75);
		
		Label lblNewLabel = new Label("Email");
		absolutePanel.add(lblNewLabel, 10, 127);
		
		TextBox txtbxEmai = new TextBox();
		absolutePanel.add(txtbxEmai, 10, 149);
		txtbxEmai.setSize("348px", "16px");
		
		Label lblPassword = new Label("Password");
		absolutePanel.add(lblPassword, 10, 179);
		
		PasswordTextBox passwordTextBox = new PasswordTextBox();
		absolutePanel.add(passwordTextBox, 10, 201);
		passwordTextBox.setSize("348px", "16px");
		
		btnRegister = new Button("Register");
		absolutePanel.add(btnRegister, 303, 235);
	}
}